<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vue 2 App</title>
    <style>
      /* CSS styles go here */
    </style>
  </head>
  <body>
    <div id="app" style="display: flex">
      <div class="box" v-for="(item,index) in like">
        <input type="checkbox" v-model="ckList" :value="item" /> {{item}}
      </div>
      <ul v-for="(item,index) in ckList">
        <li>{{ item }}</li>
      </ul>
    </div>

    <script src="./vue.js"></script>
    <script>
      const app = new Vue({
        el: "#app",
        data: {
          like: [
            "科幻",
            "喜剧",
            "动漫",
            "冒险",
            "科技",
            "军事",
            "娱乐",
            "奇闻",
          ],
          ckList: [],
        },
        methods: {
          // Methods go here
        },
        computed: {
          // Computed properties go here
        },
      });
    </script>
  </body>
</html>
